package com.tencreat.domain.pt.dto;

import com.tencreat.domain.mall.dto.MallOrderShipDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("中奖之后选择兑换类型VO")
public class LotteryAfterDTO {
    @NotBlank(message = "订单编号不能为空")
    @ApiModelProperty("订单编号")
    private String orderSn;

    @ApiModelProperty("地址ID")
    private Long addressId;

    @NotNull(message = "兑换类型不能为空")
    @ApiModelProperty("兑换类型 1发货,2兑换积分 3红包")
    private Integer exchangeType;

    @ApiModelProperty("选择发货参数对象")
    private MallOrderShipDTO shipPO;
}
